Integrating Owicki–Gries for C11-Style Memory Models into Isabelle/HOL
نویسندگان
چکیده
Abstract Weak memory presents a new challenge for program verification and has resulted in the development of variety specialised logics. For C11-style models, our previous work shown that it is possible to extend Hoare logic Owicki–Gries reasoning verify correctness weak programs. The technique introduces set high-level assertions over C11 states together with basic Hoare-style axioms atomic statements (e.g. reads/writes), but retains all other standard proof obligations compound statements. This paper takes this line further by introducing first deductive environment Isabelle/HOL C11-like built on Nipkow Nieto’s encoding Isabelle theorem prover. We exemplify techniques several litmus tests from literature two non-trivial examples: Peterson’s algorithm read–copy–update adapted C11. examples we consider, outlines can be automatically discharged using existing tactics developed Nieto. benefit here programs written familiar pseudocode syntax embedded directly into program.
منابع مشابه
Taming the complexities of the C11 and OpenCL memory models
We study how the C11 memory model can be simplified and how it can be extended. Our first contribution is to propose a mild strengthening of the model that enables the rules pertaining to sequentially-consistent (SC) operations to be significantly simplified. We eliminate one of the total orders that candidate executions must range over, leading to a model that is significantly faster to simula...
متن کاملA Program Logic for C11 Memory Fences
We describe a simple, but powerful, program logic for reasoning about C11 relaxed accesses used in conjunction with release and acquire memory fences. Our logic, called fenced separation logic (FSL), extends relaxed separation logic with special modalities for describing state that has to be protected by memory fences. Like its precursor, FSL allows ownership transfer over synchronizations and ...
متن کاملIntegrating Transactional Memory into C + +
We discuss the integration of transactional memory into the C++ programming language. We take a decidedly pragmatic approach in this paper: Our goal is to induce minimal changes consistent with implementability, usable transactional semantics, and the prevalent styles of C++ programs. In particular, we want to avoid designing a new language; rather, we want to enable incremental adoption of tra...
متن کاملIntegrating genomics into prognostic models for AML.
The use of genomic profiling in acute myeloid leukemia (AML) has led to an improved understanding of disease pathogenesis. Genomic profiling has given rise to fundamental observations about the biology of AML and has served to better define clinical outcomes for patients based on somatic mutational status. As additional mutations are identified with a known or postulated role in AML pathogenesi...
متن کاملIntegrating Semantic Memory into a Cognitive Architecture
Semantic memory stores a person's general knowledge about the world and plays an important functional role in generating intelligent behaviors. Semantic memory has been an active research field in psychology and is implemented in cognitive architectures such as ACT-R [1] to model various related phenomena in human. However, functionally-based cognitive architectures, such as Soar [2], have not ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Journal of Automated Reasoning
سال: 2021
ISSN: ['0168-7433', '1573-0670']
DOI: https://doi.org/10.1007/s10817-021-09610-2